// 打开弹框
function openlayer(title,htmlp){

    layer.open({
        type:1,
        title:title,
        content:$(htmlp),
        area:['50%','50%'],
        end:function (){
            $(htmlp).css('display','none');
        }
    })

}